<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="../templates/commons/common2 ::head(~{::title})">
    <title>后台管理</title>
</head>
<body>
    <!--导航开始--------------------------------------------->
    <nav th:replace="../templates/commons/common2::menu(0)">
    </nav>
    <!-- 二级导航 -->

    <!--导航结束---------------------------------------------->

<br>
<br>
<br>
<br>
    <!--中间内容开始------------------------------------------>
    <div class="m-container-small m-padded-large touming">
        <div class="ui container">
          <div class="ui success large  message">
              <h1 th:text="${session.loginUser}">H1!</h1>
              <p>欢迎回来</p>
          </div>
        </div>
    </div>
    <!--中间内容结束------------------------------------------>
    <br>
    <!--底部内容开始-->
    <footer th:replace="../templates/commons/common2 :: footer">
    </footer>
    <!--底部内容结束------------------------------------------>

    <script th:replace="../templates/commons/common2 :: script"></script>
<script>
    $('.m-menu.m-toggle').click(function () {
        $('.m-item').toggleClass('m-mobile-hide');
    });

    $('.ui.dropdown').dropdown({
        on : 'hover'
    });
</script>
</body>
</html>